export interface UserInfo {
  id: number;
  username: string;
  email: string;
  remainingWords: number;
  avatar?: string;
  role: string;
  status: 'active' | 'inactive';
  createdAt: string;
  updatedAt: string;
}

export interface LoginResponse {
  token: string;
  user: UserInfo;
}

export interface LoginRequest {
  username: string;
  password: string;
}

export interface RegisterRequest extends LoginRequest {
  username: string;
  password: string;
  email: string;
  id:string,
  phone:string,
  role:string[];
} 